IHasState<T>

An interface that specifes an implementing Entity changes State as part of the SimpleStateMachine.

Syntax

public interface IHasState<T> : IIdentifiable<Guid> where T : class, IDbStateEnum

Properties

StateType

T StateType { get; set; }
The populated instance of .

Returns

T

StateTypeId

Guid StateTypeId { get; set; }
The unique identifier for the SimpleStateMachine .

Returns

Guid